package com.taskmanagement.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigInteger;
import java.util.List;

@Data
public class AIStepResponse {
    @JsonProperty("steps")
    private List<AIStepItem> steps;

    @JsonProperty("reasoning")
    private String reasoning;

    @JsonProperty("total_estimated_days")
    private BigInteger totalEstimatedDays;

    @Data
    public static class AIStepItem {
        @JsonProperty("title")
        private String title;

        @JsonProperty("description")
        private String description;

        @JsonProperty("order")
        private BigInteger order;

        @JsonProperty("estimated_days")
        private BigInteger estimatedDays;

        @JsonProperty("dependencies")
        private List<BigInteger> dependencies;

        @JsonProperty("required_resources")
        private List<String> requiredResources;

        @JsonProperty("success_criteria")
        private String successCriteria;
    }
}
